<?php

namespace app\common\model;

use EasyWeChat\Factory;
use think\Exception;
use think\Model;

/**
 * 邮箱验证码
 */
class ZfbModel extends Model
{
    protected $autoWriteTimestamp = true;
    protected $name = 'zfb';

    public function user()
    {
        return $this->belongsTo(UserModel::class, 'uid', 'id')
            ->field('nickname')->setEagerlyType(0);
    }


}
